<%--
  Created by IntelliJ IDEA.
  User: zr
  Date: 2019/3/29
  Time: 13:55
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <script type="text/javascript" src="/js/jquery_1.12.4.min.js"></script>
    <script type="text/javascript">
        $(function () {
            $("#tj").click(function () {
                var name=$("#name").val();
            })
        })


    </script>


</head>
<body>
     <div id="b1" align="center">
         <h1></h1>
         姓名：<input type="text" id="name"><br/>
         年龄：<input type="text" id="age"><br/>
         性别：<input type="text" id="sex"><br/>
         住址：<input type="text" id="address"><br/>
         学校：<input type="text" id="school"><br/><br/>
         <input type="button" value="添加此学生信息" id="tj">
     </div>
</body>
</html>
